package com.jk.admin.dao;

import com.jk.admin.entity.Shoptype;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ShopDao {
    @Select("select *from t_shop_type")
    List<Shoptype> getShop();

    @Delete("delete from t_shop_type where id = ${id}")
    void delShop(Integer id);
}
